
const sessionStorage = {};

sessionStorage.get = function (key) {
  console.log('window.sessionStorage.getItem(key)'+ JSON.stringify(window.sessionStorage.getItem(key)));
  return window.sessionStorage.getItem(key)
}

sessionStorage.set = function (key,val) {
  return window.sessionStorage.setItem(key,val)
}

sessionStorage.remove = function (key) {
  window.sessionStorage.removeItem(key);
  return '';
}

sessionStorage.clear = function () {
  return window.sessionStorage.clear()
}

export default sessionStorage;
